Release 10.1A: OpenEdge Development:
Progress Dynamics Administration


Generating the cache

Progress Dynamics provides a tool to generate the class and entity cache for deployment.

To generate the cache:

  1. From the Administration tool, choose Deployment Generate Client Cache, displaying the Generate Client Cache window, as shown:
  2. If you want to generate a class cache, check the Class Cache toggle box and choose the Class tab. The browser on the Class tab displays classes where the cache_on_client field in the gsc_object_type table is set to TRUE. You can multi-select as many object types as you want to cache.
  3. Note: If you extend the classes provided with Progress Dynamics, and if you choose to cache those classes on the client, you can set the cache_on_client value using the Cache on client toggle box from either the Object Type Maintenance tool or the Repository Object Maintenance tool. For more information on these tools, see OpenEdge Development: Progress Dynamics Basic Development .

  4. If you want to generate an entity cache, check the Entity Cache toggle box and choose the Entity tab, as shown:
  5. The browser on the Entity tab displays the entities that have been imported into the Progress Dynamics Repository. You can multi-select as many entities as you want to cache.

  6. Once you select the classes and entities you want to cache, you can choose the Go button to generate the class and entity cache.

By default, Dynamics generates the class and entity cache in the directory specified for the ry-clc product module. For better control, Progress Software Corporation recommends that you use the client_cache_directory session property to specify where the client cache is generated. Using this property keeps all client cache content in one place, allowing you to easily deploy the cache to clients. Setting the client_cache_directory property ensures that the specified directory is searched for the class and entity cache. Using this property also eliminates one AppServer request (during AppServer configuration) required to obtain the relative path of the client cache based on the ry-clc product module settings.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095